Skip to main content

Dialog: Properties: Security

Function: The dialog contains the properties of the application for encryption. If the CODESYS Security Agent is installed, then you can start a wizard for the encryption of downloads, online changes, and boot applications.

Call:

  • Command: View → Properties

  • Context menu of an application object

Important

Encryption with a dongle is no longer classified as a secure encryption method.

It is recommended to encrypt with certificates instead.

Table 132. Encryption Technology

If the Enforce encryption of downloads, online changes, and boot applications option is selected in the Security Screen view in the Security Level group, then the encryption technology is set to Encryption with certificates and cannot be changed in this dialog.

For more information, see: Protecting an Application

No Encryption

Simple Encryption

You can download the boot application to the controller only when the defined dongle (license key) is connected to the computer.

The dongle is provided by CODESYS GmbH or by the respective hardware manufacturer. The firm code is displayed. Specify the supplied product code.

Encryption with license management

You can download the boot application to the controller only after you have specified the product code and firm code, and the respective dongle is connected to both the development computer and the controller. You receive the codes from the vendor which manages the licenses.

Encryption with certificates

You can download the boot application to the controller only when a valid certificate exists for it. The Certificates group is enabled. See the description below.

The option is already selected if the Enforce encryption of downloads, online changes, and boot applications option is selected on the User tab of the Security Screen view.

You can also select the Digitally sign application code option.

Sign with certificate

You can download the application code to the controller only if it has been signed with a valid certificate. Encryption is not necessary in this case.



Table 133. Certificates

Note: If the Enforce encryption of downloads, online changes, and boot applications option is selected in the Security Screen view in the Security Level group, then the encryption technology is set to Encryption with certificates and cannot be changed in the Properties dialog.

_cds_icon_cert_store_open.png:

The Certificate Selection dialog opens. Here you can select previously installed certificates of devices for which the encryption of download, online change, and boot application is enabled. The list can contain multiple entries if multiple devices are authorized to run this application.

Digitally sign application code

The application is signed with a digital signature. The certificate for the digital signature is specified in the Security Screen view on the User tab.

Area for the display of the selected certificates with corresponding information

Information for each certificate:

  • Issued for

  • Issued by

  • Valid from

  • Valid until

  • Thumbprint

Encryption Wizard

This button is available only if the CODESYS Security Agent is installed. It starts the wizard which has the same name. For this, see the help for the CODESYS Security Agent.



For more information, see: Protecting and Saving Projects and the help for CODESYS Security Agent